﻿using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;

namespace Fadada.FASC.SDK.DotNetCore.Model
{
    public class CorpInfoExtend
    {
        /// <summary>
        /// 企业对公银行账户开户行名称，长度最大30个字符。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bankName",
            Required = Newtonsoft.Json.Required.AllowNull)]
        [MaxLength(30)]
        public string BankName { get; set; }

        /// <summary>
        /// 企业对公银行账户开户行支行名称 ，长度最大50个字符
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bankBranchName",
            Required = Newtonsoft.Json.Required.AllowNull)]
        [MaxLength(50)]
        public string BankBranchName { get; set; }


        /// <summary>
        /// 企业对公银行帐户号 ，长度最大30个字符。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bankAccountNo",
            Required = Newtonsoft.Json.Required.AllowNull)]
        [MaxLength(30)]
        public string BankAccountNo { get; set; }

        /// <summary>
        /// 企业对公银行帐户银行所在省份，长度最大10个字符。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bankProvinceName",
            Required = Newtonsoft.Json.Required.AllowNull)]
        [MaxLength(10)]
        public string BankProvinceName { get; set; }

        /// <summary>
        /// 企业对公银行帐户银行所在市 ，长度最大16个字符。
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "bankCityName",
            Required = Newtonsoft.Json.Required.AllowNull)]
        [MaxLength(16)]
        public string BankCityName { get; set; }
    }
}